package com.imooc.articles_mongodb_project.service;

import com.imooc.articles_mongodb_project.common.Result;
import com.imooc.articles_mongodb_project.dto.LikesDTO;
import com.imooc.articles_mongodb_project.entity.Likes;

import java.util.List;

public interface ILikesService {
    List<Likes> getAll();

    Result save(LikesDTO likesDTO);
    Result getLikeNums(String articleId);
}
